const CONFIG = require('./libs/config')

App({
  onLaunch: async function () {
    //调用API从本地缓存中获取数据
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
    // this.getUserToken()
  },

  "permission": {
    "scope.userLocation": {
      "desc": "初始化获取用户位置信息"
    }
  },
  "requiredPrivateInfos": ["getLocation", "chooseLocation"],
  globalData: {
    userInfo: null
  }
})